package coderbyte;
/*
 * http://coderbyte.com/
 * Coderbyte is a web application built to help people practice their
 * programming skills with our collection of programming challenges. The
 * challenges range in difficulty and they can all be completed straight
 * through our online application, no need to download or upload anything.
 * Our goal is to improve your abilites for solving challenging problems you
 * might encounter one day when programming on your own.
 */

import java.text.ParseException;
import java.util.*;

/**
 * This is my way to test and debug while coding
 *
 * @author ascorbin
 */
public class CoderByte {

    /**
     * List of all method calls
     *
     * @param args
     * @throws java.text.ParseException
     */
    public static void main(String[] args) throws ParseException {
        Scanner input = new Scanner(System.in);

// Medium Lessons
        Medium c = new Medium();
        System.out.println(c.MultipleBrackets("(hello [world]))!("));
//        System.out.println(c.FibonacciChecker(13));
//        System.out.println(c.CoinDeterminer(25));   //25
//        System.out.println(c.ThreeFiveMultiples(10));
//        System.out.println(c.StringReduction("ababab"));
//        System.out.println(c.BracketMatcher("coderbyte"));
//        System.out.println(c.TripleDouble(67844, 66237));
//        System.out.println(c.NumberSearch("Hello6 9World 2, Nic8e D7ay!")); //20
//        System.out.println(c.SwapII("6Hello4 -8World, 7 yes3"));
//        System.out.println(c.DashInsertII(input.nextInt()));
//        System.out.println(c.PrimeChecker(input.nextInt()));
//        System.out.println(c.PermutationStep(41352));
//        System.out.println(c.CountingMinutesII(input.nextLine())); //15
//        System.out.println(c.FormattedDivision(123456789, 10000));
//        System.out.println(c.Consecutive(new Integer[]{4, 8, 6}));
//        System.out.println(c.SimpleMode(new int[]{5, 4, 2, 2, 5, 1}));
//        System.out.println(c.CaesarCipher("Caesar Cipherz", 0));
//        System.out.println(c.LetterCountII(input.next())); //10
//        System.out.println(c.BinaryConverter("100101"));
//        Integer[] in = new Integer[]{3, 5, -1, 8, 12};
//        System.out.println(c.ArrayAddition(in));
//        int[] in = new int[] {-2, -6, -18, -54};
//        System.out.println(c.ArithGeoII(in));
//        System.out.println(c.StringScramble("hellko", "hello"));
//        System.out.println(c.Division(36, 54)); //5
//        System.out.println(c.PalindromTwo("A war at Tarawa!"));
//        System.out.println(c.PrimeMover(input.nextInt()));
//        System.out.println(c.RunLength(input.nextLine()));
//        System.out.println(c.PrimeTime(input.nextInt()));

// Easy Lessons
//        Easy b = new Easy();
//        System.out.println(b.AdditivePersistence(2718));
//        System.out.println(b.PowersofTwo(input.nextInt()));
//        String[] in = new String[] {"hello", "worldt", "after", "all"};
//        System.out.println(b.ThirdGreatest(in));
//        System.out.println(b.NumberAddition("100 2One Number*1")); //25
//        System.out.println(b.SwapCase(input.nextLine()));
//        System.out.println(b.DashInsert(input.nextInt()));
//        System.out.println(b.MeanMode(new Integer[]{4, 4, 4, 6, 2}));
//        System.out.println(b.CountingMinutesI("1:23am-1:08am"));
//        System.out.println(b.DivisionStringified(123456789, 10000)); //20
//        System.out.println(b.SecondGreatLow(input.nextInt())); Int Array???
//        System.out.println(b.LetterCountI(input.nextLine()));
//        System.out.println(b.ArrayAdditionI(input.nextInt())); Int Array???
//        int[] in = new int[] {-2, -6, -18, -54};
//        System.out.println(b.ArithGeo(in));
//        System.out.println(b.Palindrom(input.nextLine())); //15
//        System.out.println(b.ExOh(input.nextLine()));
//        System.out.println(b.WordCount(input.nextLine()));
//        System.out.println(b.VowelCount(input.nextLine()));
//        System.out.println(b.ABCheck(input.nextLine()));
//        System.out.println(b.AlphabetSoup(input.nextLine())); //10
//        System.out.println(b.TimeConvert(input.nextInt()));
//        System.out.println(b.CheckNums(input.nextInt(), input.nextInt()));
//        System.out.println(b.SimpleSymbols(input.nextLine()));
//        System.out.println(b.LetterCapitalize(input.nextLine()));
//        System.out.println(b.SimpleAdding(input.nextInt())); //5
//        System.out.println(b.LetterChanges(input.nextLine()));
//        System.out.println(b.LongestWord(input.nextLine()));
//        System.out.println(b.FirstFactorial(input.nextInt()));
//        System.out.println(b.FirstReverse(input.nextLine()));
// MyOwn Lessons
//        MyOwn a = new MyOwn();
//        a.CoinDeterminer(6);
//        a.down2(10);
//        a.randArray();
//        System.out.println(a.Division(8, 8));
//        Integer[] in = new Integer[] {9, 3, 3, 44, 17 , 17, 44, 15, 15, 15, 27, 40, 8,};
//        System.out.println("Das Ergebnis lautet: " + a.numDisInt(in));
//        String in = "100.00";
//        System.out.println("Das Ergebnis lautet: " + a.dmInEuro(in) + " €");
//        System.out.println("Das Ergebnis lautet: " + a.euroInDm(in) + " DM");
    }
}
